package com.burns.jdk9.gui.container;/**
 * Created by burns.
 *
 * @author <a href="http://www.esoon-soft.com/">burns</a>
 * @date 2021/11/28 16:14
 */

import java.awt.*;

/**
 * @Description  P4 04_awt_container容器_演示1
 * @ClassName WindowDemo
 * @Author Burns
 * @DAte 2021/11/28 16:14
 */
public class WindowDemo {
    public static void main(String[] args) {
        //1、创建一个窗口对象
        Frame frame = new Frame("这里测试window窗口");
        //2、设置窗口大小和位置
        frame.setLocation(100,100);
        frame.setSize(500,500);
        //设置窗口对象可见
        frame.setVisible(true);
    }
}
